<fieldset>

    <legend>条件搜索</legend>

    <form class="layui-form layui-form-pane form-search" action="{:request()->url()}" onsubmit="return false" method="get" autocomplete="off">

        <div class="layui-form-item layui-inline">
            <label class="layui-form-label">兼职ID</label>
            <div class="layui-input-inline">
                <input name="id" value="{$Think.get.id|default=''}" placeholder="请输入兼职ID" class="layui-input">
            </div>
        </div>
         <div class="layui-form-item layui-inline">
            <label class="layui-form-label">联系人</label>
            <div class="layui-input-inline">
                <input name="contacts" value="{$Think.get.contacts|default=''}" placeholder="请输入联系人" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item layui-inline">
            <label class="layui-form-label">联系手机</label>
            <div class="layui-input-inline">
                <input name="mobile" value="{$Think.get.mobile|default=''}" placeholder="请输入联系手机" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item layui-inline">
            <label class="layui-form-label">兼职类型</label>
            <div class="layui-input-inline">
                <select class="layui-select" name="work_type">            
                    <option  value="">--全部--</option>
                    
                    {foreach $work_type as $vo}
                    <!--{eq name='Think.get.work_type' value='$vo.id.""'}-->
                     <option value="{$vo.id}" selected="selected"  >{$vo.name}</option>
                     <!--{else}-->
                   <option value="{$vo.id}" >{$vo.name}</option>
                    <!--{/eq}-->
                    {/foreach}


                </select>
            </div>
        </div>
        <div class="layui-form-item layui-inline">
            <label class="layui-form-label">是否置顶</label>
            <div class="layui-input-inline">
                <select class="layui-select" name="is_top">            
                    {foreach [''=>'- 全部状态 -','1'=>'是','0'=>'否'] as $k=>$v}
                    <!--{eq name='Think.get.is_top' value='$k.""'}-->
                    <option selected value="{$k}">{$v}</option>
                    <!--{else}-->
                    <option value="{$k}">{$v}</option>
                    <!--{/eq}-->
                    {/foreach}
                </select>
            </div>
        </div> 
        
        <!-- <div class="layui-form-item layui-inline">
            <label class="layui-form-label">发布时间</label>
            <div class="layui-input-inline">
                <input data-date-range name="login_at" value="{$Think.get.login_at|default=''}" placeholder="请选择发布时间" class="layui-input">
            </div>
        </div>
 -->
        <div class="layui-form-item layui-inline">
            <button class="layui-btn layui-btn-primary"><i class="layui-icon">&#xe615;</i> 搜 索</button>
        </div>
    </form>

</fieldset>

<script>form.render()</script>
